package com.zhentao.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "sms.aliyun")
public class SmsConfig {
    private String host = "https://dfsns.market.alicloudapi.com";
    private String path = "/data/send_sms";
    private String method = "POST";
    private String appCode = "1296a7644c1c4114837f46476016b340";  // 替换为您的AppCode
    private String templateId = "CST_ptdie100";  // 测试模板ID
    private int expireTime = 300;  // 验证码有效期（秒）
} 